package com.yc.exception;

import org.springframework.http.HttpStatus;

// 系统操作异常
public class SystemOperationException extends BusinessException {
    public SystemOperationException(String message) {
        super(message, HttpStatus.INTERNAL_SERVER_ERROR); // 500
    }

    public SystemOperationException(String message, Throwable cause) {
        super(message, HttpStatus.INTERNAL_SERVER_ERROR); // 500
    }
}
